

<?php
use yii\widgets\LinkPager;
use yii\base\Object;
use yii\bootstrap\ActiveForm;
use common\utils\CommonFun;
use yii\helpers\Url;

use backend\models\ZhiboHistory;

$modelLabel = new \backend\models\ZhiboHistory();
?>

<?php $this->beginBlock('header');  ?>
<!-- <head></head>中代码块 -->
<?php $this->endBlock(); ?>

<!-- Main content -->
<section class="content">


    <link href="http://nos.netease.com/vod163/nep.min.css" rel="stylesheet">
    <script src="http://nos.netease.com/vod163/nep.min.js"></script>
    <div style="margin-left: 40%; font-size: 26px; margin-bottom: 2%">历史视频播放</div>

    <div class="v1-default-index" style="margin-left: 20%">
        <!--    <iframe width="100%" height="100%" src="iframe_inside.html" frameborder="0" allowfullscreen></iframe>
        -->    <video id="my-video" class="video-js vjs-big-play-centered" controls poster="http://pic-1252931330.cosgz.myqcloud.com/id1userProfile.png" preload="auto" width="840px" height="560px" data-setup='{}'>
        </video>

        <script>

            // 点击按钮设置播放地址并播放
            myPlayer = neplayer('my-video');
            myPlayer.setDataSource({src:"<?=$url;?>",type:"video/mp4"});
            myPlayer.play();

        </script>
</section>
    <!-- /.content -->


    <?php $this->beginBlock('footer');  ?>
    <!-- <body></body>后代码块 -->
    <?php $this->endBlock(); ?>









</div>